Rename gdk_window_set_has_native to gdk_window_ensure_native
authorAlexander Larsson <alexl@redhat.com>
Mon, 1 Jun 2009 09:57:59 +0000 (11:57 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 1 Jun 2009 09:57:59 +0000 (11:57 +0200)
commit287b821705b5418cd14d5a31fda3f167ac4ddf72
tree489e7dd10390324f74a6c38520f06d00432c384a
parentd1f5050262da637a6609d6e794bcca45ae2fcb3e
Rename gdk_window_set_has_native to gdk_window_ensure_native

This also removes the (unimplemented) possibility to change a window to
non-native. This seems generally not very useful, and there are some problems
with it, for instance if two "users" need a window to be native and then
one of the "users" doesn't need it anymore it can't change it back, because
it is unaware of the other reason the window is native.
docs/reference/gdk/tmpl/events.sgml
docs/reference/gdk/tmpl/windows.sgml
gdk/gdkwindow.c
gdk/x11/gdkdrawable-x11.c
gdk/x11/gdkmain-x11.c
gdk/x11/gdkwindow-x11.c
tests/testwindows.c